Component({
    properties: {
        show: {
            value: !1,
            type: Boolean
        },
        cardata: {
            value: [],
            type: Array
        }
    },
    options: {
        multipleSlots: !0
    },
    data: {},
    methods: {
        popupcartListbtn: function() {
            this.triggerEvent("popupcartListbtn", {
                clicktype: 0
            });
        },
        reduceCartNum: function(t) {
            var e = t.currentTarget.dataset.item;
            this.triggerEvent("reduceCart", e);
        },
        addCartNum: function(t) {
            var e = t.currentTarget.dataset.item;
            this.triggerEvent("addCart", e);
        },
        updateCartNum: function(t) {
            var e = t.target.dataset.item;
            e.total = t.detail.value, "" != t.detail.value && 0 != t.detail.value || (e.total = 0), 
            this.triggerEvent("cartInputBlur", e);
        }
    }
});